﻿body {
    margin:20px auto auto auto;
    width:1024px;
    background-color:#eee;
    vertical-align:baseline;
}
body>div{
        border:1px solid #ccc;
}
/*1022px=1024px-2*1px*/
#header{
    background-color:white;
    padding:10px 11px 0 11px;/**/
    margin-bottom:10px;
}
#site-title{
    font-size:2em;
    font-weight:500;
    float:left;
    clear:both;
}
#site-slogan{
    padding-top:10px;
    float:right;
    clear:right;
}
#navigation
{
    clear:both;
    margin:0 -21px;
    height:1.5em;
    background:black;
    font-size:1.2em;
}
#navigation ul{
    margin:0 10px;
}
#navigation li{
    float:left;
    padding:0px 11px;
}
#navigation li a{
    color:#ccc;
}
#navigation li.current a{
    color:white;
}
#navigation li:hover{
    background:#666;
}
#navigation li a:hover{
    color:white;
    background:#666;
}
#sidebar{
    clear:both;
    padding:0 0 0 11px;
    background-color:white;
    width:200px;
    margin-right:10px;
    float:left;
}
#main{
    padding:0 11px;
    /*margin-left:220px;*/
    background-color:white;
    overflow:auto;
}
#footer{
    margin-top:10px;
    border:none;
    clear:both;
    text-align:center;
}

article{
    clear:both;
    padding:10px;
}
article>section{
    margin:5px 0 0 0;
}
article h1{
    font-size:1.5em;
    font-weight:500;
    text-align:left;
}
section.article-meta{
    text-align:center;
    font-size:0.7em;
    border-top:1px solid black;
}

section.article-meta dt,
section.article-meta dd{
    float:left;
    text-align:center;
}
section.article-meta dt:after
{
    content:":";
}section.article-meta dd:after
{
    content:".";
}
section.article-contents{
    clear:both;
    font-size:0.9em;
    border:1px dotted #999;
    background-color:#eee;
    padding:0 0 0 10px;
}
section.article-contents ol{
    list-style:decimal inside;
}
section.article-text p{
    margin:1em 0;
}
section.article-notes{
    border-top:1px solid black;
    font-size:0.8em;
}
section.article-notes ol{
    padding:0 0 0 10px;
    list-style:decimal inside;
}
nav.nav-pre{
    float:left;
}
nav.nav-next{
    float:right;
}